package fr.cephb.berkeley.baseapi.bindings;

import com.sleepycat.bind.tuple.TupleInput;
import com.sleepycat.bind.tuple.TupleOutput;

public class Int32Binding
	extends AbstractTupleBinding<Integer>
	{
	@Override
	public Integer entryToObject(TupleInput input)
		{
		return readInt32(input);
		}

	@Override
	public void objectToEntry(Integer i, TupleOutput output)
		{
		writeInt32(i, output);
		}
	}
